﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Roton.Engine
{
    /// <summary>
    /// Implements a key buffer that removes duplicate key presses, like ZZT 3.2.
    /// </summary>
    public class ZZT32KeyBuffer : KeyBuffer
    {
        public override void Press(KeyEventArgs e)
        {
            if (!IsQueued(e))
                Queue(e);
        }
    }
}
